<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文本修饰</title>
    <style>
        a{
            text-decoration: none;
        }
        /* 删除线在上方 */
        h1{
            text-decoration: overline;
        }
        /* 删除线在文字中间 */
        h2{
            text-decoration: line-through;
        }
        /* 删除线在文字下方 */
        h3{
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <p>连接到
        <a href="//.www.runoob.come/">菜鸟教程</a>
    </p>
    <h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
</body>
</html>